﻿<s:SurfaceWindow x:Class="OficinaTuristicaFE.PublicPrivateSelection"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    Title="OficinaTuristicaFE" Width="1024" Height="768"
    >
  <s:SurfaceWindow.Resources>
    <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/Ajuntament_Son_Servera.jpg"/>
     <ControlTemplate x:Key="SurfaceButtonControlTemplate_BackToLanguageSelection" TargetType="{x:Type s:SurfaceButton}">
          <Grid Background="{StaticResource Layer_Language}"/>
     </ControlTemplate>
    </s:SurfaceWindow.Resources>

    <Grid Background="{StaticResource FondoLay}" Width="1024" Height="768" >
  	<Grid.ColumnDefinitions>
  		<ColumnDefinition/>
  		<ColumnDefinition/>
  	</Grid.ColumnDefinitions>
        <s:SurfaceButton x:Name="BackToLanguageSelection" Grid.ColumnSpan="2" VerticalAlignment="Top" Width="100" Height="100" HorizontalAlignment="Center" Click="BackToLanguageSelection_Click" Template="{StaticResource SurfaceButtonControlTemplate_BackToLanguageSelection}" Foreground="{x:Null}" />
        <s:SurfaceButton Content="{DynamicResource 0}" HorizontalAlignment="Center" VerticalAlignment="Center" Height="100" Width="150" Click="PrivateServices_Click"/>
  	<s:SurfaceButton Content="{DynamicResource 1}" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1" Width="150" Height="100" Click="PublicServices_Click" />

  </Grid>
</s:SurfaceWindow>
